<script src="/public/js/timepicker/bootstrap-timepicker.min.js"></script>

<div class="form-group">
    <label class="col-sm-2 control-label">包房</label>

    <div class="col-sm-10">
        <select class="form-control" name="policy.room.id" data-validate="required">
            <option value="">请选择包房</option>
        #{list rooms,as:'room'}
            <option ${room?.id==policy?.room?.id?'selected' : ''} value="${room?.id}">${room?.roomName}</option>
        #{/list}
        </select>
    </div>
</div>

<div class="form-group-separator"></div>


<div class="form-group">
    <label class="col-sm-2 control-label" for="field-1">开始时间</label>

    <div class="col-sm-10">
        <input type="text" name="policy.startTime" class="form-control" placeholder="请输入结束时间"
               data-validate="required" data-show-meridian="false" data-template="dropdown" value="${policy?.startTime == null ? '00:00' : policy?.startTime}" data-default-time="${policy?.startTime == null ? '00:00' : policy?.startTime}"
               data-minute-step="5">
    </div>
</div>

<div class="form-group-separator"></div>

<div class="form-group">
    <label class="col-sm-2 control-label" for="field-1">结束时间</label>

    <div class="col-sm-10">
        <input type="text" name="policy.endTime" class="form-control" placeholder="请输入结束时间"
               data-validate="required" data-show-meridian="false" data-template="dropdown" value="${policy?.endTime == null ? '24:00' : policy?.endTime}" data-default-time="${policy?.endTime == null ? '24:00' : policy?.endTime}"
               data-minute-step="5">
    </div>
</div>

<div class="form-group-separator"></div>

<div class="form-group">
    <label class="col-sm-2 control-label" for="field-1">系统价格</label>

    <div class="col-sm-10">
        <input type="text" name="policy.price" class="form-control" placeholder="系统价格"
               data-validate="required" value="${policy?.price}">
    </div>
</div>

<div class="form-group-separator"></div>

<div class="form-group">
    <label class="col-sm-2 control-label" for="field-1">微信价格</label>

    <div class="col-sm-10">
        <input type="text" name="policy.wechatPrice" class="form-control" placeholder="微信价格"
               data-validate="required" value="${policy?.wechatPrice}">
    </div>
</div>

<div class="form-group-separator"></div>


<div class="form-group">
    <label class="col-sm-2 control-label" for="field-1">排列顺序</label>

    <div class="col-sm-10">
        <input type="text" name="policy.sequence" class="form-control" placeholder="排序位置"
               data-validate="required" value="${policy?.sequence}">
    </div>
</div>

<div class="form-group-separator"></div>






<div class="form-group">
    <label class="col-sm-2 control-label" for="field-5"></label>

    <div class="col-sm-10">
        <button type="submit" class="btn btn-success">&nbsp;&nbsp;确定&nbsp;&nbsp;</button>
        <button type="reset" class="btn btn-white">&nbsp;&nbsp;重置&nbsp;&nbsp;</button>
    </div>

</div>